package com.woniu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: zcl  <br/>
 * Date: 2021/6/8:16:52  <br/>
 * Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "学习路径")
public class MapPath implements Serializable {
    @ApiModelProperty(value = "学习路径id")
    private Integer id;
    @ApiModelProperty(value = "路径名称")
    private String pathName;
    @ApiModelProperty(value = "开启闯关")
    private Integer isStep;
    @ApiModelProperty(value = "内容描述")
    private String intro;
    @ApiModelProperty(value = "启用状态")
    private String isUsed;
    @ApiModelProperty(value = "创建人")
    private String creator;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "软删除,1:删除，0:开启")
    private Integer isDelete;
    @ApiModelProperty(value = "对应的课程id字符串，用逗号分隔")
    private String 	refContent;

    @ApiModelProperty(value = "是否考试")
    private String 	isTest;
    @ApiModelProperty(value = "课程名称")
    private String courseName;
    @ApiModelProperty(value = "多对多包含多个课程")
    private List<Course> courses;
}
